package com.lxmes.gs.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.*;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 成本清单对象 gs_cost_list
 * 
 * @author wdf
 * @date 2023-04-24
 */
@Data
@TableName("gs_cost_list")
public class CostList{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 项目编码 */
    @TableField(value = "project_code")
    private String projectCode;

    /** 项目名称 */
    @TableField(value = "project_name",condition = SqlCondition.LIKE)
    private String projectName;

    /** 成本类型 */
    @TableField(value = "cost_type")
    private String costType;

    /** 凭证号 */
    @TableField(value = "certificate_code",condition = SqlCondition.LIKE)
    private String certificateCode;

    /** 成本编码 */
    @TableField(value = "cost_code")
    private String costCode;

    /** 成本名称 */
    @TableField(value = "cost_name",condition = SqlCondition.LIKE)
    private String costName;

    /** 型号规格 */
    @TableField(value = "model_spec",condition = SqlCondition.LIKE)
    private String modelSpec;

    /** 单位 */
    @TableField(value = "unit")
    private String unit;

    /** 单价 */
    @TableField(value = "unit_price")
    private Double unitPrice;

    /** 金额 */
    @TableField(value = "amount")
    private Double amount;

    /** 提报人 */
    @TableField(value = "report_person")
    private String reportPerson;

    /** 提报时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "report_time")
    private Date reportTime;

    /** 审批人 */
    @TableField(value = "audit_person")
    private String auditPerson;

    /** 审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "audit_time")
    private Date auditTime;

    /** 制单人 */
    @TableField(value = "document_person")
    private String documentPerson;

    /** 制单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "document_time")
    private Date documentTime;

    /** 备注 */
    @TableField(value = "audit")
    private String audit;
    /** 备注 */
    @TableField(value = "remark")
    private String remark;


}
